xen: Automatically find serial port on PCI/PCIe and AMT devices.
authorJames Mckenzie <jamesmck@bob.uk.xensource.com>
Thu, 14 Jul 2011 08:28:23 +0000 (09:28 +0100)
committerJames Mckenzie <jamesmck@bob.uk.xensource.com>
Thu, 14 Jul 2011 08:28:23 +0000 (09:28 +0100)
commit9738db88f68f251b9abc68b597f54e9c80fdec66
treefdc18cfedbefa2f29efee409af72d00be85a9483
parentd0ae97d4136e0e2163c7f559a077d66947c3c2dd
xen: Automatically find serial port on PCI/PCIe and AMT devices.

Instead of having to manually look the right I/O port on the PCI
devices or AMT devices, lets probe the card and find that
automatically.

This means that you don't have to have this:
 com1=115200,8n1,0xd800,0

But instead can have
 com1=115200,8n1,magic

Or if you have AMT:
 com1=19200,8n1,amt

Signed-off-by: James Mckenzie <jamesmck@bob.uk.xensource.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Signed-off-by: Tom Goetz <tom.goetz@virtualcomputer.com>
xen/drivers/char/ns16550.c